package com.ruoyi.hospital.domain.shop;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sku信息对象 pharmacy_drug_sku
 * 
 * @author wendao
 * @date 2024-09-24
 */
public class PharmacyDrugSku extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 药品 */
    @Excel(name = "药品")
    private Integer productId;
    private String drugName;



    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 展示图片 */
    @Excel(name = "展示图片")
    private String pic;

    /** 库存 */
    @Excel(name = "库存")
    private Integer stock;

    /** 已售 */
    @Excel(name = "已售")
    private Long sold;

    /** 销售属性 */
    @Excel(name = "销售属性")
    private String spData;

    /** 是否上架 */
    @Excel(name = "是否上架")
    private Integer isListed;

    /** 删除时间 */
    private Integer deleteTime;


    /*
    * 药店信息
    * */
    private Integer storeId;
    private String storeName;
    private String storeLogo;

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreLogo() {
        return storeLogo;
    }

    public void setStoreLogo(String storeLogo) {
        this.storeLogo = storeLogo;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setStock(Integer stock) 
    {
        this.stock = stock;
    }

    public Integer getStock() 
    {
        return stock;
    }
    public void setSold(Long sold) 
    {
        this.sold = sold;
    }

    public Long getSold() 
    {
        return sold;
    }
    public void setSpData(String spData) 
    {
        this.spData = spData;
    }

    public String getSpData() 
    {
        return spData;
    }
    public void setIsListed(Integer isListed) 
    {
        this.isListed = isListed;
    }

    public Integer getIsListed() 
    {
        return isListed;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("price", getPrice())
            .append("pic", getPic())
            .append("stock", getStock())
            .append("sold", getSold())
            .append("spData", getSpData())
            .append("isListed", getIsListed())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
